package com.zt.springcloud.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @author RedReins
 * @version 1.0
 * @description: TODO
 * @date 2021/8/28 16:53
 */

public class User implements Serializable {
    private Long id;
    private String username;
    private String password;
    private Date create_time;
    private String signature;
    private Date last_login;

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", create_time=" + create_time +
                ", signature='" + signature + '\'' +
                ", last_login=" + last_login +
                '}';
    }


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }

    public Date getLast_login() {
        return last_login;
    }

    public void setLast_login(Date last_login) {
        this.last_login = last_login;
    }
}
